// ActionScript file
package com.bitjsc.data
{
	import flash.events.EventDispatcher;
	
	public class Player extends EventDispatcher
	{
		private var name:String = null;
		private var clientID:String = null;
		private var money:int = 1000;
		private var location:String = "Out Side";
		private var isBanker:Boolean = false;
		private var isVipPlayer:Boolean = false;
		private var sex:String = null;
		
		private var isCurrentPlayer:Boolean = false;
		private var currentRoom:Room = null;
		private var currentTable:Table = null;
		
		public function setCurrentPlayer(isCurrentPlayer:Boolean):void
		{
			this.isCurrentPlayer = isCurrentPlayer;
		}
		public function getCurrentPlayer():Boolean
		{
			return this.isCurrentPlayer;
		}
		
		public function setName(name:String):void
		{
			this.name = name;
		}
		public function getName():String
		{
			return this.name;
		}
		
		public function setClientID(clientID:String):void
		{
			this.clientID = clientID;
		}
		public function getClientID():String
		{
			return this.clientID;
		}
		
		public function setMoney(money:int):void
		{
			this.money = money;
		}
		public function getMoney():int
		{
			return this.money;
		}
		
		public function setLocation(location:String):void
		{
			this.location = location;
		}
		public function getLocation():String
		{
			return this.location;
		}
		
		public function setBanker(isBanker:Boolean):void
		{
			this.isBanker = isBanker;
		}
		public function getBanker():Boolean
		{
			return this.isBanker;
		}
		
		public function setVipPlayer(isVipPlayer:Boolean):void
		{
			this.isVipPlayer = isVipPlayer;
		}
		public function getVipPlayer():Boolean
		{
			return this.isVipPlayer;
		}
		
		public function setSex(sex:String):void
		{
			this.sex = sex;
		}
		public function getSex():String
		{
			return sex;
		}
				
	}
}